@import '@/app/styles/variables';

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #f3f3f3;
  min-height: 100vh;
}

.page {
  display: flex;
  gap: 32px;
}

.wrap {
  margin-top: 72px;
}

.floating_card_container {
  display: flex;
  position: sticky;
  left: 0;
  width: 336px;
  gap: 16px;
  top: calc(72px + 90px);
  flex-direction: column;
  z-index: 1;
}

.image {
  position: relative;
  height: 100px;
  width: 100px;
}

@include media(lg) {
  .floating_card_container {
    width: 280px;
  }
}

.mobile {
  display: none;
}

.desktop {
  display: unset;
}

.moreBlock {
  position: relative;
}

@include media(lg) {
  .course_info {
    padding: 40px;
  }
}

@include media(md) {
  .course_info {
    padding: 32px;
    gap: 40px;
  }

  .main_title {
    font-size: 42px;
    line-height: 40px;
  }
}

@include media(sm) {
  .floating_card_container,
  .card {
    display: none;
  }
  .mobile {
    display: unset;
  }

  .desktop {
    display: none;
  }

  .card {
    height: 275px;
  }

  .floating_card_container {
    position: relative;
    width: 100%;
    top: 0;
    z-index: inherit;
  }

  .container {
    background: #fff;
  }

  .page {
    flex-direction: column;
    gap: 0;
  }

  .wrap {
    margin-top: 0;
  }

  .wrapper {
    padding: 0;
  }

  .footer {
    background: #fff;
  }
}
